{% extends "app01/base.html" %}

{% block content %}
    <form action="" method="post">
        {% csrf_token %}
        {{ form.as_p }}
        <button name="submit">register</button>
        <input type="hidden" name="text" value="{% url 'app01:index' %}">
    </form>
{% endblock %}